package com.health.system.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;


@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResourceTreeListDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;

    private String resourceName;

    private String url;

    private String requestMethod;

    private Long parentId;

    private Boolean anon;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private List<ResourceTreeListDTO> children;
}
